package org.kitrum.example.service;

import org.kitrum.example.common.annotations.MyAnnotation;
import org.kitrum.example.service.interfaces.RoleService;
import org.kitrum.example.service.interfaces.UserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @program: kitrum-example
 * @description:
 * @author: Kun
 * @create: 2021-01-25 15:27
 */
@MyAnnotation
public class RoleServiceImpl implements RoleService {

    @Autowired
    private UserService userService;

    @Override
    public void print() {
        System.out.println("role service");
    }

    @Override
    public void userPrint() {
        userService.print();
    }
}
